Skip to content

feat: dev server and test#1

Open
Shellmia0 wants to merge 8 commits into
dev_shellmiao_add_hivefrom
dev_server
Open

feat: dev server and test#1
Shellmia0 wants to merge 8 commits into
dev_shellmiao_add_hivefrom
dev_server

Conversation

@Shellmia0

Copy link
Copy Markdown
Owner

feat: dev server and test

- Add hive-dialect-test.yml: runs on PR/push to related paths
  - Tests Hive dialect conversion
  - Tests SQL rewrite with Hive backend
  - Tests format dialect

- Add hive-integration-test.yml: runs on schedule/manual trigger
  - Comprehensive unit tests
  - Optional E2E tests with mock Hive (Arrow Flight SQL + DuckDB)
  - Generates test summary report

Triggered by changes to:
  - pkg/parser/format/**
  - pkg/planner/core/**
  - pkg/parser/ast/**
@Shellmia0 Shellmia0 self-assigned this Jan 20, 2026
- Revert engine C++ changes per tyrone-yu: use ARROWSQL kind in config
- Fix bob_init.hql copy-paste error (wrong schema for Bob)
- Replace manual protobuf parsing with google.protobuf library
- Add DuckDB search_path for default schema resolution
- Strip party name prefixes (alice./bob.) in SQL preprocessing
- Dynamic paths in shell scripts (no more hardcoded /root/autodl-tmp)
- Add derby.log to .gitignore
- Hive rejects SQL with trailing semicolons
- Strip party/database name prefix for Hive backend queries
- Verified: 7/7 tests pass with real HiveServer2
- Dedicated class for MySQL/standard → Hive SQL conversion
- IFNULL → COALESCE, NOW() → CURRENT_TIMESTAMP
- CAST type mapping: SIGNED/UNSIGNED → BIGINT, VARCHAR/CHAR → STRING
- Separate preprocessing logic for DuckDB vs Hive backends
- 19/19 unit tests pass, 7/7 integration tests pass with real Hive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant